<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

/*****************************************管理端***************************************/
/*******基础接口*****/
Route::group('AdminIndex',function(){
    Route::rule(':action','admin.AdminIndex/:action');
});//登录
Route::group('AdminHome',function(){
    Route::rule(':action','admin.AdminHome/:action');
});//首页数据统计
Route::group('AdminUpload',function(){
    Route::rule(':action','admin.AdminUpload/:action');
});//文件上传

Route::group('AdminGoods',function(){
    Route::rule(':action','admin.AdminGoods/:action');
});
Route::group('AdminGoodsClassify',function(){
    Route::rule(':action','admin.AdminGoodsClassify/:action');
});

/***内容管理***/
Route::group('AdminArticle',function(){
    Route::rule(':action','admin.AdminArticle/:action');
});//文章
Route::group('AdminArticleClassify',function(){
    Route::rule(':action','admin.AdminArticleClassify/:action');
});//文章分类

/***系统设置***/
Route::group('AdminConfig',function(){
    Route::rule(':action','admin.AdminConfig/:action');
});//系统配置

Route::group('AdminMenu',function(){
    Route::rule(':action','admin.AdminMenu/:action');
});//系统菜单

Route::group('AdminLog',function(){
    Route::rule(':action','admin.AdminLog/:action');
});//系统日志

Route::group('AdminUser',function(){
    Route::rule(':action','admin.AdminUser/:action');
});//管理员

Route::group('AdminRole',function(){
    Route::rule(':action','admin.AdminRole/:action');
});//角色管理

Route::group('AdminBanner',function(){
    Route::rule(':action','admin.AdminBanner/:action');
});

Route::group('AdminDeal',function(){
    Route::rule(':action','admin.AdminDeal/:action');
});

Route::group('AdminBackup',function(){
    Route::rule(':action','admin.AdminBackup/:action');
});//数据备份

Route::group('AdminRestore',function(){
    Route::rule(':action','admin.AdminRestore/:action');
});//数据还原

